<template>
  <div class="song">
    <h2>歌曲列表</h2>
    <slot :gequ="songs" name="qwe"></slot>
  </div>
</template>

<script setup lang="ts">
import { reactive } from "vue";
let songs = reactive([
  {
    id: "01",
    name: "花一轮",
  },
  {
    id: "02",
    name: "华之集落",
  },
  {
    id: "03",
    name: "四月的雨",
  },
  {
    id: "05",
    name: "想成为怪兽",
  },
  {
    id: "06",
    name: "B.B.K.K.B.K.K",
  },
]);
</script>

<style scoped>
.song {
  width: 200px;
  height: 300px;
  background-color: skyblue;
  border-radius: 10px;
  box-shadow: 0 0 10px;
}
h2 {
  background-color: orange;
  text-align: center;
  font-size: 20px;
  font-weight: 800px;
}
</style>
